# frozen_string_literal: true

class RuleEntity
  class RuleSet < RuleEntity
    has_many :rule_set_rules, foreign_key: :rule_set_id, dependent: :delete_all
    has_many :rule_entities, through: :rule_set_rules

    def build_archive_params
      raise 'Unsupported.'
    end

    def update_draft(params)
      super
      raise 'Unsupported'
    end
  end
end
